class Registration < ActionMailer::Base
  def confirmation(user_, password_)
    @subject    = 'Fieldtrip - registration'
    @body       = {"user" => user_, "password" => password_}
    @recipients = user_.email
    @from       = 'admin@fieldtrip.llp.pl'
    @sent_on    = Time.now
    @headers    = {}
  end
end